/*
 * Copyright (c) 2001, 2002 Boris Pruessmann and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *    Boris Pruessmann - Initial implementation.
 */
#include "StdAfx.h"

JNIEXPORT jint JNICALL Java_net_sourceforge_perforce_api_internal_ClientMerge_getYourChunks(JNIEnv* env, jobject jClientMerge)
{
	ClientMerge* clientMerge = (ClientMerge*)getNativeHandle(env, jClientMerge);
	return clientMerge->GetYourChunks();
}

JNIEXPORT jint JNICALL Java_net_sourceforge_perforce_api_internal_ClientMerge_getTheirChunks(JNIEnv* env, jobject jClientMerge)
{
	ClientMerge* clientMerge = (ClientMerge*)getNativeHandle(env, jClientMerge);
	return clientMerge->GetTheirChunks();
}

JNIEXPORT jint JNICALL Java_net_sourceforge_perforce_api_internal_ClientMerge_getBothChunks(JNIEnv* env, jobject jClientMerge)
{
	ClientMerge* clientMerge = (ClientMerge*)getNativeHandle(env, jClientMerge);
	return clientMerge->GetBothChunks();
}

JNIEXPORT jint JNICALL Java_net_sourceforge_perforce_api_internal_ClientMerge_getConflictChunks(JNIEnv* env, jobject jClientMerge)
{
	ClientMerge* clientMerge = (ClientMerge*)getNativeHandle(env, jClientMerge);
	return clientMerge->GetConflictChunks();
}
